package com.xqboss.apps.enums.nft;

import com.fasterxml.jackson.annotation.JsonValue;
import com.xqboss.common.enums.BaseEnum;

/**
 * @author Administrator
 */
public enum NftStockEnum implements BaseEnum<Integer> {

    SOLD_OUT(1, "已售罄"),
    NOT_SOLD_OUT(2, "未售罄");

    private Integer value;
    private String msg;

    NftStockEnum(Integer value, String desc) {
        this.value = value;
        this.msg = desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
